Replace Resources Process
Use the Replace Resources API process to automatically replace resources.
Process Settings
Below are the settings you must define for the Replace Resources API process:
Setting | Description | Sample Value |
---|---|---|
ProcessID | This ID informs Cobra to run the Replace Resources process. | ReplaceResources |
Project | This setting refers to the project where you want to replace resources.
This setting is required. |
Demo Advanced |
FileName | This setting refers to the full path and filename of the comma-separated value (.csv) or Excel (.xls) file containing the resource pairings to use in the replace process. | C:\ProjectFiles\Deltek\Cobra\Data\ResourceList.xls |
OriginalResources | This setting refers to the old resources to be replaced.
You must specify this setting if FileName setting is not defined. This setting is optional and the default value is equal to the FileName setting. |
AERO1 (any resource in the resource file attached to the project) |
ReplacementResources | This setting refers to the new resource that will replace the old resource.
You must specify this setting if FileName setting is not defined. This setting is optional and the default value is equal to the FileName setting. |
AERO (any resource in the resource file attached to the project) |
Sample Script
Below is a sample script file for the Replace Resources API process:
[Process019]
ProcessID=ReplaceResources
Project=Demo Advanced
FileName=C:\Project Files\Deltek\Cobra\Data\ResourceList.XLS
OriginalResources=AERO1
ReplacementResources=AERO